package org.his.dao;

import org.apache.ibatis.annotations.Param;
import org.his.pojo.tongji.CaiwuTongJi;
import org.his.pojo.tongji.GongZuoLiangTongJi;
import org.his.pojo.tongji.YaoPinXiaoShou;

import java.util.List;

public interface CaiwuTongjiDao extends CommonDao<CaiwuTongJi,Integer> {

    /**
     * 统计成交金额
     * @param datatime1
     * @param datatime2
     * @return
     */
    public List<CaiwuTongJi> tongjicaiwu(@Param("datatime1") String datatime1, @Param("datatime2") String datatime2,@Param("moneyType") String moneyType);


    /**
     * 统计工作量
     * @param state 选择的时间
     * @return
     */
    public List<GongZuoLiangTongJi> tongjigongzuoliang(String state);

    /**
     * 统计药品出售情况
     * @param state
     * @return
     */
    public List<YaoPinXiaoShou> yaopinxiaoshou(String state);

}
